package com.snowcattle.game.db.service.jdbc.service.entity;

import com.snowcattle.game.db.service.jdbc.entity.Order;

import java.util.List;


public interface IOrderService {
    long insertOrder(Order order);

    Order getOrder(long userId, long id);

    List<Order> getOrderList(long userId);

    List<Order> getOrderList(long userId, String status);

    void updateOrder(Order order);

    void deleteOrder(Order order);

    List<Long> insertOrderList(List<Order> order);

    void updateOrderList(List<Order> order);

    void deleteOrderList(List<Order> order);
}

